package com.lvkerry.orderfood.service;


import com.lvkerry.orderfood.api.ApiBean;

/**
 * @author Kerry
 */

public interface OrderService {


    /**
     * 下单
     *
     * @param menuId
     * @param remark
     * @return
     */
    ApiBean order(Long menuId, int orderStatus, String remark);


    /**
     * @param orderNo
     * @param menuId
     * @param remark
     * @return
     */
    ApiBean updateOrder(String orderNo, Long menuId, String remark);

    /**
     * 取消订单
     *
     * @return
     */
    ApiBean cancelUserOrder();


    /**
     * 获取某天所有人订单
     *
     * @return
     */
    ApiBean getOneDayAllOrders(String lunchDate);

    ApiBean getUserHistoryOrder(long timeStamp, int page, int pageCount);

    ApiBean checkUserTodayOrder();


    ApiBean getMenuDetailAndUserODesk(Long menuId);
}
